package org.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.objects.annotations.Property;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 服务信息
 *
 * @author sxt
 * @version 1.0
 * @description TODO
 * @date 2023/7/31 21:32
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "服务实体")
public class Service {

    /**
     * 服务id
     */
    @ApiModelProperty(name = "服务id")
    private String serviceId;

    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 服务ip地址
     */
    private String ipAddress;

    /**
     * 服务所在端口
     */
    private String port;
}
